home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
int24.arc
/
READ.ME
< prev
next >
Wrap
Text File
|
1988-09-20
|
835b
|
13 lines
TEST24.EXE is a sample program to demonstrate programatic control of the
DOS critical error handler. If a program wishes to detect and try to recover
from network errors itself, it can use these routines to set the int 24 vector
to the handler in INT24.ASM. For network critical errors, the program may
either issue a retry, or may perform some other action to prevent loss of
control and/or data. In this test program, the user is prompted to remove
the network cable from the back of his machine to simulate a failure of the
physical network. Then the program attempts to open a file on drive Z:,
which causes the shell to detect the failure and invoke the critical error
handler. With interrupt 24 taken over by the user module, it simply prompts
the user to put the cable back on. Then it retries the request.